package com.amoyt.project.domain.vo.data;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Date: 2025/8/28
 * @Time: 17:36
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "管理员用户数据统计")
public class AdminDataVo implements Serializable {

    @Schema(description = "未知用户数量")
    private Long unknownCount;
    @Schema(description = "男生")
    private Long maleCount;
    @Schema(description = "女生")
    private Long femaleCount;

    @Schema(description = "普通访客")
    private Long visitorCount;

    //各级权限列表
    @Schema(description = "各级权限列表")
    private List<roleData> LevelDataList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class roleData implements Serializable{
        @Schema(description = "权限名称")
        private String roleName;
        @Schema(description = "权限数量")
        private Long roleCount;
    }
}
